<!-- $Id: brand_list.htm 15898 2009-05-04 07:25:41Z liuhui $ -->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>MYSHOP 管理中心 - 商品品牌</title>
  <meta name="robots" content="noindex, nofollow">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <css file="__PUBLIC__/Admin/css/general.css" />
  <css file="__PUBLIC__/Admin/css/main.css" />
  <script type="text/javascript" src="__PUBLIC__/Admin/js/transport.js"></script>
  <script type="text/javascript" src="__PUBLIC__/Admin/js/common.js"></script>
</head>
<body>

  <h1>
    <span class="action-span">
      <a href="{:U('Brand/addBrand')}">添加品牌</a>
    </span>
    <span class="action-span1">
      <a href="">MYSHOP 管理中心</a>
    </span>
    <span id="search_id" class="action-span1">- 商品品牌</span>
    <div style="clear:both"></div>
  </h1>
  <script type="text/javascript" src="__PUBLIC__/Admin/js/utils.js"></script>
  <script type="text/javascript" src="__PUBLIC__/Admin/js/listtable.js"></script>

  <div class="list-div" id="listDiv">

    <table cellpadding="3" cellspacing="1">
      <tr>
        <th>品牌名称</th>
        <th>品牌网址</th>
        <th>品牌描述</th>
        <th>是否热门</th>
        <th>操作</th>
      </tr>
      <if condition='$brand'>
        <foreach name='brand' item='v'>
          <tr>
            <td class="first-cell">
              <span>{$v.name}</span>
            </td>
            <td align="center">
              <a href="{$v.url}" target="_brank">{$v.url}</a>
            </td>
            <td align="center">{$v.desc}</td>
            <td align="center">
              <if condition='$brand'>
                <img src="__PUBLIC__/Admin/images/yes.gif"/>
                <else/>
                <img src="__PUBLIC__/Admin/images/no.gif"/>
              </if>
            </td>
            <td align="center">
              <a href="" title="编辑">编辑</a>
              |
              <a href="javascript:;" onclick="listTable.remove(1, '你确认要删除选定的商品品牌吗？')" title="移除">移除</a>
            </td>
          </tr>
        </foreach>
        <else/>
        <tr>
          <td class="no-records" colspan="10">没有找到任何记录</td>
        </tr>
      </if>
      <tr>
        <td align="right" nowrap="true" colspan="6">
          <div id="turn-page">{$page}</div>
        </td>
      </tr>
    </table>

    <!-- end brand list --> </div>

  <!-- <div id="footer">
  共执行 3 个查询，用时 0.012033 秒，Gzip 已禁用，内存占用 3.826 MB
  <br />
  版权所有 &copy; 2005-2012 上海商派网络科技有限公司，并保留所有权利。
</div>
-->
</body>
</html>